package com.jz.community.modulemine.model;

import com.jz.community.basecomm.bean.BaseResponseText;
import com.jz.community.basecomm.bean.LoginInfo;
import com.jz.community.basecomm.net.rxandroid.OnLoadListener;
import com.jz.community.modulemine.bean.RedpackageResult;
import com.jz.community.modulemine.bean.ShareBean;
import com.jz.community.modulemine.bean.SignAwardBean;
import com.jz.community.modulemine.bean.SignDataBean;
import com.jz.community.modulemine.bean.SignResultBean;
import com.jz.community.modulemine.bean.UserChangeOtherBean;
import com.jz.community.modulemine.bean.UserInfoResultBean;
import com.jz.community.modulemine.bean.VersionBean;

/**
 * Created by Admin on 2018/3/28 0028.
 */

public interface MineModel {

    void getSmsCode(String mobi, String type, OnLoadListener<LoginInfo> onLoadListene);


    void checkWifiRegister(String mobile, OnLoadListener<BaseResponseText> onLoadListener);

    /**
     * 签到初始接口
     */
    void initSignData(OnLoadListener<SignDataBean> onLoadListener);

    /**
     * 签到点击接口
     */
    void clickSign(String userId, OnLoadListener<SignResultBean> onLoadListener);

    /**
     * 签到奖品接口
     */
    void signAward(OnLoadListener<SignAwardBean> onLoadListener);

    void updateVersion(String versionName, OnLoadListener<VersionBean> onLoadListener);

    void memberLoginOut(String token, OnLoadListener<BaseResponseText> onLoadListener);

    void changePassword(String userId, String old_password, String password, OnLoadListener<UserChangeOtherBean> onLoadListene);

    void unreadCount(String type, OnLoadListener<Integer> onLoadListener);

    /**
     * 获取分享有礼的url
     */
    void initShareGift(OnLoadListener<ShareBean> onLoadListener);
}
